AmeliaBooking\Application\Services\Payment\PaymentApplicationService D

Total Complexity 417
Dependencies 37
Dependents 0
Total lines 2,381
Lines of code 1,619
Logical lines of code 752
Comment lines 302
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
createPaymentLink()
D
5
113 340
updateAppointmentAndCache()
D
6
82 477
getPaymentsData()
D
22
58 171
processPayment()
D
24
40 175
getBookingInformationForPaymentSettings()
B
36 23 75
getAvailablePayments()
B
44 20 47
calculateAppointmentPrice()
B
36 15 84
setTransfers()
A
45 12 39
hasRelatedRefundablePayment()
A
52 8 24
updateCache()
A
47 7 38
getFullStatus()
A
55 8 19
delete()
S
46 5 43
isAllowedOnSitePaymentMethod()
S
59 6 14
addWcFields()
S
59 6 13
setPaymentsTransfers()
S
55 5 20
updateBookingPaymentDate()
S
62 3 12
insertPaymentFromLink()
S
57 2 16
setPaymentTransactionId()
S
66 3 9
__construct()
S
81 1 3